#!/bin/bash

set -e
set -x

path=$(cd $(dirname "$0") && pwd)
cd ${path}/..

# lint
uv run mypy
# 检查并修复
uv run ruff check app --fix
# 格式化
uv run ruff format app
